<?php include_partial('cross_modules/new_button') ?>
<?php include_partial('cross_modules/pagination', array('pager'=> $pager)) ?>
<table class="main">
  <thead class="ui-widget-header">
    <tr>
      <th><?php echo link_to(__('Id'), 'menu/setOrder?order=id'); ?></th>
      <th><?php echo link_to(__('Parent'),'menu/setOrder?order=parent_id'); ?></th>
      <th><?php echo link_to(__('Type'),'menu/setOrder?order=type_id'); ?></th>
      <th><?php echo link_to(__('Name'), 'menu/setOrder?order=name'); ?></th>
      <th><?php echo link_to(__('Position'), 'menu/setOrder?order=position'); ?></th>
      <th><?php echo link_to(__('Active?'), 'menu/setOrder?order=is_active'); ?></th>
    </tr>
  </thead>
  <tbody class="sortable">
    <?php include_partial('menu/list', array('pager'=> $pager)) ?>
  </tbody>
</table>